﻿/**
 *
 * @file OperatorsMaterialManager.h
 * @brief 材料管理操作器
 * @author BaGuijun (baguijun@163.com)
 * @date 2024-12-31
 *
 */

#ifndef _OperatorsMaterial_H
#define _OperatorsMaterial_H

#include "OperManagerBase.h"

namespace ModelOper
{
    /**
     * @brief 材料管理操作器
     * @author BaGuijun (baguijun@163.com)
     * @date 2024-12-31
     */
    class OperatorsMaterial :public OperManagerBase
    {
        Q_OBJECT;

    public:
        /**
         * @brief Construct a new Operators Setup object
         * @author BaGuijun (baguijun@163.com)
         * @date 2024-12-31
         */
        OperatorsMaterial();
        /**
         * @brief Destroy the Operators Setup object
         * @author BaGuijun (baguijun@163.com)
         * @date 2024-12-31
         */
        ~OperatorsMaterial();
        /**
         * @brief 执行
         * @return true 成功
         * @return false 失败
         * @author BaGuijun (baguijun@163.com)
         * @date 2024-12-31
         */
         bool execGUI() override;
        /**
         * @brief 执行结果处理
         * @return true 成功
         * @return false 失败
         * @author BaGuijun (baguijun@163.com)
         * @date 2024-12-31
         */
         bool execProfession()override;
    };

    // 按钮注册相关操作
    Register2FITKOperatorRepo(actionMaterialFastSimCreate, OperatorsMaterial);
    Register2FITKOperatorRepo(actionMaterialFastSimEdit, OperatorsMaterial);
    Register2FITKOperatorRepo(actionMaterialFastSimDelete, OperatorsMaterial);
}

#endif // _OperatorsMaterial_H
